package cn.ffcs.organ.model;

import cn.ffcs.base.model.BaseEntity;

/**
 * 
 * 组织pojo<br/> <table>
 * <tr>
 * <td>负责人/principal: </td>
 * <td colspan="2">liuzhh</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:</td>
 * <td>修改人:</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author liuzhh
 * @version $Id$
 */
public class Organization extends BaseEntity
{
    /** 唯一键 **/
    private Integer id;
    /** 组织名称 **/
    private String name;
    /** 组织类型 **/
    private String orgType;
    /** 组织层级 **/
    private int orgLevel;
    /** 索引 **/
    private String orgIndex;
    /** 组织代码 **/
    private String codeID;
    /** 上级组织 **/
    private String superior;
    /** 上级组织名字 **/
    private String parentName;
    /** 组织描述 **/
    private String description;
    /** 锚点 **/
    private String author;
    /** 子节点数 **/
    private int childCount;
    /**  组织完整路径 **/
    private String fullName;
    /**  部门简称 **/
    private String shortName;
    /**
     * 获取组织名称
     * @return name
     */
    public String getName()
    {
        return name;
    }

    /**
     * 设置组织名称
     * @param id name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * 获取组织类型
     * @return orgType
     */
    public String getOrgType()
    {
        return orgType;
    }

    /**
     * 设置组织类型
     * @param id orgType
     */
    public void setOrgType(String orgType)
    {
        this.orgType = orgType;
    }

    /**
     * 获取组织层级
     * @return orgLevel
     */
    public int getOrgLevel()
    {
        return orgLevel;
    }

    /**
     * 设置组织层级
     * @param id orgLevel
     */
    public void setOrgLevel(int orgLevel)
    {
        this.orgLevel = orgLevel;
    }

    /**
     * 获取索引
     * @return orgIndex
     */
    public String getOrgIndex()
    {
        return orgIndex;
    }

    /**
     * 设置索引
     * @param id orgIndex
     */
    public void setOrgIndex(String orgIndex)
    {
        this.orgIndex = orgIndex;
    }

    /**
     * 获取组织代码
     * @return codeID
     */
    public String getCodeID()
    {
        return codeID;
    }

    /**
     * 设置组织代码
     * @param id codeID
     */
    public void setCodeID(String codeID)
    {
        this.codeID = codeID;
    }

    /**
     * 获取上级组织
     * @return superior
     */
    public String getSuperior()
    {
        return superior;
    }

    /**
     * 设置上级组织
     * @param id superior
     */
    public void setSuperior(String superior)
    {
        this.superior = superior;
    }

    /**
     * 获取组织描述
     * @return description
     */
    public String getDescription()
    {
        return description;
    }

    /**
     * 设置组织描述
     * @param id description
     */
    public void setDescription(String description)
    {
        this.description = description;
    }

    /**
     * 获取锚点
     * @return author
     */
    public String getAuthor()
    {
        return author;
    }

    /**
     * 设置锚点
     * @param id author
     */
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public int getChildCount()
    {
        return childCount;
    }

    public void setChildCount(int childCount)
    {
        this.childCount = childCount;
    }

    public String getParentName()
    {
        return parentName;
    }

    public void setParentName(String parentName)
    {
        this.parentName = parentName;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getFullName()
    {
        return fullName;
    }

    public void setFullName(String fullName)
    {
        this.fullName = fullName;
    }

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
}
